In gdm mode there is no activities button, and accessing it causes an
exception.
https://bugzilla.gnome.org/show_bug.cgi?id=684162
this._grabHelper = new GrabHelper.GrabHelper(this.actor);
this._grabHelper.addActor(this._summaryBoxPointer.actor);
this._grabHelper.addActor(this.actor);
- this._grabHelper.addActor(Main.panel.statusArea['activities'].hotCorner.actor);
+ if (Main.panel.statusArea.activities)
+ this._grabHelper.addActor(Main.panel.statusArea.activities.hotCorner.actor);
Main.layoutManager.keyboardBox.connect('notify::hover', Lang.bind(this, this._onKeyboardHoverChanged));